<%-- 
    Document   : view_product
    Created on : Mar 14, 2014, 8:22:50 PM
    Author     : ahmed
--%>

<%@page import="pojo.Mobile"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@include file="header.jsp" %>
<% Mobile mobile = (Mobile) request.getAttribute("mobile");%>
<h1><%= mobile.getName()%></h1>
<h2><%= mobile.getCompany()%></h2>
<img src="<%= "img/" + mobile.getId() +".jpg"%>" />
<ul>
    <li>Price : <%= mobile.getPrice() %></li>
    <li>Quantity : <%= mobile.getQuantity()%></li>
    <li>Camera : <%= mobile.getCamera()%></li>
    <li>Display Size : <%= mobile.getDisplaySize()%></li>
</ul>
<%@include file="footer.jsp" %>